import http from '../http'

export default {
    upload: {
        name: '图片上传',
        url: '/api/upload',
        call: async function (params) {
            return await http.post(this.url, params)
        }
    },
    imglist: {
        name: '图片列表',
        url: '/api/upload',
        call: async function (params) { 
            return await http.get(this.url, params)
        }
    }
}